#pragma once
#include<vector>
#include"WorkThread.h"
#include"Queue.h"

class ThreadPool {
private:
	int corePoolSize;
	int maximumPoolSize;
	int keepAliveTime;

	vector<WorkThread*> threads;
	shared_ptr<Queue>queue;

public:
	ThreadPool(int corePoolSize, int maximumPoolSize, long keepAliveTime, shared_ptr<Queue>queue):
		corePoolSize(corePoolSize), maximumPoolSize(maximumPoolSize), keepAliveTime(keepAliveTime),queue(queue)
	{
	}

	void submit(Task task) {

	}
};
